/**
 * (1) Number
 *
 * number
 * bigint
 */
function literalNumber() {
  // number
  let num: number = 12;      // 十进制
  let numb: number = 0b1100; // 二进制
  let numo: number = 0o14;   // 八进制
  let numx: number = 0xC;    // 十六进制
  // bigint
  let bi: bigint = 12n;
}

function varibaleNumber() {
  /**
   * 1.变量声明
   */
  // number
  let num: number;
  // bigint
  let bi: bigint;
}





/**
 * (2) Symbol
 *
 * symbol
 */
function literalSymbol() {
}

function varibaleSymbol() {
}





/**
 * (3) Literal
 *
 * literal
 */
function literalLiteral() {
}

function variableLiteral() {
  /**
   * 1.变量声明
   */
  let lit: 'hello';

  /**
   * 2.变量初始化
   */
  // let lit1: 'hello' = 'hello';
  // const lit2: 'hello' = 'hello';
  let lit1 = 'hello' as const;
  const lit2 = 'hello';

  // let lit3: { url: 'https://example.com', method: 'GET' | 'POST'} = { url: 'https://example.com', method: 'GET' };
  // let lit3 = { url: 'https://example.com' as const, method: 'GET' as const };
  let lit3 = { url: 'https://example.com', method: 'GET' } as const;

  /**
   * 3.变量赋值
   */

  /**
   * 4.变量使用
   */
}

